package com.zhentao.service;

import com.zhentao.model.pojo.market.ChargeCoupon;
import com.zhentao.model.pojo.market.ChargeCouponCondition;
import com.zhentao.model.pojo.market.ChargeUserCoupon;

/**
 * @ClassName: couponScheduleService
 * @Author: 振涛教育_Q
 * @Date: 2024/12/26 15:01
 */
public interface CouponAsyncService {
    void checkCouponExpire(ChargeCoupon coupon, ChargeCouponCondition condition);

    boolean reduceStock(ChargeCoupon coupon,Long userId);

    Integer checkUserCouponExpire(ChargeCoupon couponInfo, ChargeUserCoupon coupon);
}
